package edu.scause.gs.model;

/**
 * AbstractOrders entity provides the base persistence definition of the Orders
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractOrders implements java.io.Serializable {

	// Fields

	private Integer orderId;
	private GoodsInfo goodsInfo;
	private Client client;
	private Integer amount;
	private String score;
	private Boolean finished;
	private String shoppingDate;

	// Constructors

	/** default constructor */
	public AbstractOrders() {
	}

	/** minimal constructor */
	public AbstractOrders(GoodsInfo goodsInfo, Client client, Integer amount,
			String shoppingDate) {
		this.goodsInfo = goodsInfo;
		this.client = client;
		this.amount = amount;
		this.shoppingDate = shoppingDate;
	}

	/** full constructor */
	public AbstractOrders(GoodsInfo goodsInfo, Client client, Integer amount,
			String score, Boolean finished, String shoppingDate) {
		this.goodsInfo = goodsInfo;
		this.client = client;
		this.amount = amount;
		this.score = score;
		this.finished = finished;
		this.shoppingDate = shoppingDate;
	}

	// Property accessors

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public GoodsInfo getGoodsInfo() {
		return this.goodsInfo;
	}

	public void setGoodsInfo(GoodsInfo goodsInfo) {
		this.goodsInfo = goodsInfo;
	}

	public Client getClient() {
		return this.client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getScore() {
		return this.score;
	}

	public void setScore(String score) {
		this.score = score;
	}

	public Boolean getFinished() {
		return this.finished;
	}

	public void setFinished(Boolean finished) {
		this.finished = finished;
	}

	public String getShoppingDate() {
		return this.shoppingDate;
	}

	public void setShoppingDate(String shoppingDate) {
		this.shoppingDate = shoppingDate;
	}

}